package com.moes.beta.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.LinearLayout;

import com.moes.beta.R;

public class SettingActivity extends Activity implements OnClickListener {
	private LinearLayout mLayoutDistance;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.moes_settings);
		initScreen();
	}

	private void initScreen() {
		mLayoutDistance = (LinearLayout) findViewById(R.id.layoutShakeList);
		mLayoutDistance.setOnClickListener(this);

	}

	public void onClick(View view) {
		switch (view.getId()) {
		case R.id.butnNearby:

			break;
		case R.id.butnSetting:

			break;
		case R.id.layoutShakeList:
			mLayoutDistance.setBackgroundDrawable(getResources().getDrawable(
					R.drawable.selector_content_top));
			break;
		default:
			break;
		}

	}
}
